/* 
 * File:   playerconstantstest.cpp
 * Author: dolphinigle
 *
 * Created on March 11, 2011, 2:41 PM
 */

#include <stdlib.h>
#include "gtest/gtest.h"
#include "playerconstants.hpp"
#include "fieldconstants.hpp"

TEST(PlayerConstantsTest, Consistency) {
  int px, py;
  px = PlayerConstants::playerStartLocationXCoordinate();
  py = PlayerConstants::playerStartLocationYCoordinate();
  EXPECT_TRUE(px >= 0 && px < FieldConstants::getColumnCount());
  EXPECT_TRUE(py >= 0 && py < FieldConstants::getRowCount());
}
